package com.gaohe.post.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.core.annotation.Excel;
import com.gaohe.common.core.web.domain.BaseEntity;

/**
 * 帖子围观对象 fm_post_view
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public class FmPostView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 围观id */
    private Long postViewId;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long postId;

    /** 围观量 */
    @Excel(name = "围观量")
    private Long view;

    /** 是否删除 */
    private Long delFlag;

    public void setPostViewId(Long postViewId) 
    {
        this.postViewId = postViewId;
    }

    public Long getPostViewId() 
    {
        return postViewId;
    }

    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }

    public void setView(Long view) 
    {
        this.view = view;
    }

    public Long getView() 
    {
        return view;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postViewId", getPostViewId())
            .append("postId", getPostId())
            .append("view", getView())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
